package com.weareint.xxljob;

/**
 *
 *
 * <pre>
 *
 * </pre>
 *
 * @author johnny
 * @date 2021-08-19 10:15 上午
 */
public class XxlJobUtils {

    public static XxlJobInfo defaultXxlJobInfo() {
        XxlJobInfo xxlJobInfo = new XxlJobInfo();
        xxlJobInfo.setScheduleType("CRON");
        xxlJobInfo.setGlueType("BEAN");
        xxlJobInfo.setExecutorRouteStrategy("FIRST");
        xxlJobInfo.setMisfireStrategy("DO_NOTHING");
        xxlJobInfo.setExecutorBlockStrategy("SERIAL_EXECUTION");
        return xxlJobInfo;
    }
}